<!doctype html>

<html lang="zh-cn" id="InterflowAfterClass" style="height: 100%">
<head>
    <meta charset="UTF-8">

    {{-- CSRF令牌 --}}
    <meta name="csrf-token" content="{{ csrf_token() }}" />

    <title>{{$pageTitle or '课后网'}}</title>

    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />

@if( Config::get('app.debug') )
    {{HTML::style('packages/bower/bootstrap/dist/css/bootstrap.css')}}

    {{--{{HTML::style('css/common.css')}}--}}
    {{HTML::style('ngApp/common/css/common.css')}}
    {{HTML::style('ngApp/common/css/nav-style.css')}}

    {{--Angular Toasty样式文件--}}
    {{HTML::style('packages/bower/angular-toasty/css/ng-toasty.css')}}

    {{--Bootstrap Markdown的样式文件--}}
    {{HTML::style('packages/bower/bootstrap-markdown/css/bootstrap-markdown.min.css')}}

    {{--个人私信的样式--}}
    {{HTML::style('ngApp/personalMessage/css/message-list.css')}}
    {{HTML::style('ngApp/personalMessage/css/message-creating-style.css')}}

    {{HTML::style('ngApp/lesson/css/lesson-info-style.css')}}
    {{HTML::style('ngApp/lesson/css/lesson-style.css')}}

    {{--课堂讨论的样式--}}
    {{HTML::style('ngApp/lessonDiscussion/css/common.css')}}

    {{--font-awesome字符库可能会与其他样式库冲突,所以放在最后--}}
    {{HTML::style('packages/bower/font-awesome/css/font-awesome.css')}}
@else
    {{HTML::style('css/min.css')}}
@endif

  <link rel="shortcut icon" href="/image/small-logo.ico" type="image/x-icon" />
</head>
<body style="height: 100%">


<main-top-nav function-nav-items="functionNavItems"></main-top-nav>

<ui-view></ui-view>


<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="http://cdn.bootcss.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="http://cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
<![endif]-->

@section('script')
  @if( Config::get('app.debug') )
      {{HTML::script('packages/bower/requirejs/require.js', array('data-main'=>'/ngApp/ng-main.js'))}}
  @else
      {{HTML::script('packages/bower/requirejs/require.js', array('data-main'=>'/ngApp/ng-main.min.js'))}}
  @endif
@show

</body>
</html>
